debian/rules: Avoid explicit invocation to dpkg-architecture.
authorBoyuan Yang <byang@debian.org>
Thu, 20 Sep 2018 19:07:24 +0000 (15:07 -0400)
committerBoyuan Yang <byang@debian.org>
Thu, 20 Sep 2018 19:07:24 +0000 (15:07 -0400)
debian/rules

index 74e90a318497d09913994aa9a3e02319cb2c1e69..6563bbb96e82859f409e6bb7901ad119692b5478 100755 (executable)
@@ -11,7 +11,7 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 # missing (hardening) flags.
 CFLAGS += $(CPPFLAGS)
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
 
 %:
        dh $@ --buildsystem=cmake